Jigoshop\Entity\Product C

Total Complexity 101
Dependencies 5
Dependents 29
Total lines 714
Lines of code 354
Logical lines of code 185
Comment lines 211
Methods 55
Properties 20

Methods 55

Method Rating Maintainability Complexity Lines of code
restoreState()
C
38 25 69
getStateToSave()
A
42 15 54
removeAttribute()
S
61 3 12
jsonSerialize()
S
47 1 39
getAttribute()
S
71 2 6
setSize()
S
68 2 7
isVisible()
S
79 2 3
setVisibility()
S
67 2 8
getTaxClasses()
S
79 2 3
addAttribute()
S
70 2 6
getCrossSells()
S
82 1 3
isTaxable()
S
82 1 3
getState()
S
100 1 0
getLink()
S
80 1 3
getAttributes()
S
82 1 3
setAttributes()
S
81 1 3
markAsDirty()
S
75 1 4
getVisibleAttributes()
S
74 1 5
setUpSells()
S
76 1 4
setTaxable()
S
76 1 4
_findAttribute()
S
73 1 5
setTaxClasses()
S
76 1 4
addTaxClass()
S
76 1 4
getUpSells()
S
82 1 3
getAttachments()
S
82 1 3
setCrossSells()
S
76 1 4
getAttributeOrder()
S
82 1 3
setAttributeOrder()
S
81 1 3
setAttachments()
S
81 1 3
__construct()
S
79 1 3
hasAttribute()
S
79 1 3
getSku()
S
82 1 3
getId()
S
82 1 3
setName()
S
76 1 4
getName()
S
82 1 3
setDescription()
S
76 1 4
getDescription()
S
82 1 3
getCategories()
S
82 1 3
setCategories()
S
81 1 3
getTags()
S
82 1 3
setTags()
S
81 1 3
setSku()
S
76 1 4
getBrand()
S
82 1 3
setId()
S
76 1 4
setBrand()
S
76 1 4
getGtin()
S
82 1 3
setGtin()
S
76 1 4
getMpn()
S
82 1 3
setMpn()
S
76 1 4
setFeatured()
S
76 1 4
isFeatured()
S
82 1 3
getVisibility()
S
82 1 3
getType()
S
100 1 0
isType()
S
80 1 3
getSize()
S
82 1 3